x86/XPTI: reduce .text.entry
authorJan Beulich <JBeulich@suse.com>
Mon, 19 Mar 2018 13:40:12 +0000 (07:40 -0600)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 5 Apr 2018 14:48:23 +0000 (15:48 +0100)
commit454efb2a31b64b98e3dd55c083ce41b87375faa6
treedb9df9316a9a275b4c8d664df8f92338c9fe1599
parent442b303cdaf7d774c0be8096fe5dbab68701abd3
x86/XPTI: reduce .text.entry

This exposes less code pieces and at the same time reduces the range
covered from slightly above 3 pages to a little below 2 of them.

The code being moved is unchanged, except for the removal of trailing
blanks, insertion of blanks between operands, and a pointless q suffix
from "retq".

A few more small pieces could be moved, but it seems better to me to
leave them where they are to not make it overly hard to follow code
paths.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_64/compat/entry.S
xen/arch/x86/x86_64/entry.S